<template>
	<view>
		<image class="tit" src="../../static/images/team.jpg" style="width: 300rpx; height: 200rpx; "></image>
		<view class="show">
			{{about.text}}
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				about: [],
				id: 1,
				size: 8,
				page: 0,
				type: 1, //更据tpye来判断当前页是总通讯页还是查询页 1:总通讯页 2：查询页
				name: '',
				message: '通讯录暂无校友，快去找校友吧'
			}
		},
		onLoad() {
			uni.request({
					url: getApp().globalData.URL + 'gzmuAnnAboutus?id=1',
					method: 'GET'
				})
				.then(data => { //data为一个数组，数组第一项为错误信息，第二项为返回数据
					var [error, res] = data;
					console.log("成功连接!!");
					this.about = res.data.content[0];
					console.log(this.about);
				})
		},
		methods: {

		}

	}
</script>

<style>
	.tit {
		margin-left: 200rpx;
	}

	.show {
		text-indent: 2em;
		font-size: 28rpx;
		margin: 0rpx 10rpx 20rpx 10rpx;
		margin-left: 10rpx;
	}
</style>
